
const Servers = resolve => require(['../../containers/servers'], resolve);
const CallServer = resolve => require(['../../containers/servers/callServer'], resolve);
const Feedback = resolve => require(['../../containers/servers/feedback'], resolve);
const messageDetail = resolve => require(['../../containers/messageDetail'], resolve);
const About = resolve => require(['../../containers/About'], resolve);
const FoodCheckDetail = resolve => require(['../../containers/FoodCheck/foodCheckDetail'], resolve);
const RoundStoreDetail = resolve => require(['../../containers/RoundStoreDetail'], resolve);
const RoundStores = resolve => require(['../../containers/RoundStores'], resolve);
const AfterSale = resolve => require(['../../containers/AfterSale/afterSale.vue'], resolve);
const AfterSaleDetail = resolve => require(['../../containers/AfterSale/afterSaleDetail.vue'], resolve);
// const Evaluate = resolve => require(['../../containers/evaluate/evaluate.vue'], resolve);
const Evaluate = resolve => require(['../../containers/evaluate'], resolve);

const NoticeDetail = resolve => require(['../../containers/noticeDetail/noticeDetail.vue'], resolve);

const prize_1 = resolve => require(['../../containers/prize/prize_1.vue'], resolve);
const prizeCard = resolve => require(['../../containers/prize/prize_card.vue'], resolve);
const integral = resolve => require(['../../containers/prize/integral.vue'], resolve);
const AddressNowDistance = resolve => require(['../../containers/AddressNowDistance'], resolve);

export default [
    //申请售后
    {
        path: "/AfterSale",
        name: "AfterSale", 
        component: AfterSale
    },
    //售后详情
    {
        path: "/AfterSaleDetail",
        name: "AfterSaleDetail", 
        component: AfterSaleDetail
    },
    //服务中心
    {
        path: "/server",
        name: "server", 
        component: Servers
    },
    //电话客服
    {
        path: "/callServer",
        name: "callServer", 
        component: CallServer
    },
    //意見反饋
    {
        path: "/feedback",
        name: "feedback",
        component:Feedback
    },
    //消息详情
    {
        path: "/messageDetail",
        name: "messageDetail",
        component:messageDetail
    },
    //食品检测
    {
        path: "/foodCheckDetail",
        name: "foodCheckDetail",
        component:FoodCheckDetail
    },
    //关于我们
    {
        path: "/about",
        name: "about",
        component:About
    },
    //周边门店
    {
        path: "/roundStores",
        name: "roundStores",
        component:RoundStores
    },
    {
        path: "/roundStoreDetail",
        name: "roundStoreDetail",
        component:RoundStoreDetail
    },
    //去评价 evaluate
    {
        path: "/evaluate",
        name: "evaluate",
        component:Evaluate
    },
    //公告详情
    {
        path: "/noticeDetail",
        name: "",
        component:NoticeDetail
    },
    //抽奖_1
    {
        path: '/prize_1',
        name: 'prize_1',
        component: prize_1
      },
      //翻牌抽奖
      {
        path: '/prize_card',
        name: 'prize_card',
        state: 1,
        component: prizeCard
      },
      //签到
      {
        path: '/integral',
        name: 'integral',
        component:integral
      },
      {
        path: '/addressNowDistance',
        name: 'addressNowDistance',
        component:AddressNowDistance
      },
      
]